package com.quanliang.org.crawlerquanliang.core;


/**
 * 爬虫线程
 *
 * @author FYM
 * @data 2022/8/27 7:05
 */
@lombok.Data
public class CrawlerTask implements Runnable {
    private String url;

    @Override
    public void run() {
        Crawler.httpWork(url);
    }

    public CrawlerTask(String url) {
        this.url = url;
    }
}
